<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1_0 Transitional//EN" "http://www_w3_org/TR/xhtml1/DTD/xhtml1-transitional_dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:ice="http://www.icesoft.com/icefaces/component">
	<ui:composition template="../template/template.xhtml">
		<ui:define name="content">
		<ice:form>
		<div class="registerForm">
			<h:outputLabel  styleClass="putLeft" value="#{msg.company_label_name}*" />
			<h:inputText styleClass="putRight" value="#{companyBean.name}"  required="true"/>
		</div>
		<div class="registerForm">
			<h:outputLabel styleClass="putLeft" value="#{msg.company_label_street}" />
			<h:inputText styleClass="putRight" value="#{companyBean.street}" />
		</div>
		<div class="registerForm">	
			<h:outputLabel styleClass="putLeft" value="#{msg.company_label_ZipCode}" />
			<h:inputText styleClass="putRight" value="#{companyBean.zipCode}" />
		</div>
		<div class="registerForm">
			<h:outputLabel styleClass="putLeft" value="#{msg.company_label_City}" />
			<h:inputText styleClass="putRight" value="#{companyBean.city}" required="true"/>
		</div>
		<div class="registerForm">
			<h:outputLabel styleClass="putLeft" value="#{msg.company_label_phoneNumber}" />
			<h:inputText styleClass="putRight" value="#{companyBean.phoneNumber}" />
		</div>
		<div class="registerForm">
			<ice:commandButton action="#{companyBean.save}" value="#{msg.company_label_save}" />
		</div>
		</ice:form>
		<div class="registerForm">
			<h:outputLabel value="#{msg.users_label_required}" />
		</div>
		</ui:define>
	</ui:composition>
</html>